[INFO] fetching crate libp2p-relay 0.12.0...
[INFO] building libp2p-relay-0.12.0 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] extracting crate libp2p-relay 0.12.0 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate libp2p-relay 0.12.0 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-relay 0.12.0
[INFO] finished tweaking crates.io crate libp2p-relay 0.12.0
[INFO] tweaked toml for crates.io crate libp2p-relay 0.12.0 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate crates.io crate libp2p-relay 0.12.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rw-stream-sink v0.3.0
[INFO] [stderr]   Downloaded asn1_der v0.7.5
[INFO] [stderr]   Downloaded multiaddr v0.14.0
[INFO] [stderr]   Downloaded multistream-select v0.11.0
[INFO] [stderr]   Downloaded libp2p-core v0.36.0
[INFO] [stderr]   Downloaded libp2p-swarm v0.39.0
[INFO] [stderr]   Downloaded asynchronous-codec v0.6.0
[INFO] [stderr]   Downloaded prost-codec v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d7ec2060e30f9f69e53988847c43a23181c83e20900679907e2b646bb81f4aa6
[INFO] running `Command { std: "docker" "start" "-a" "d7ec2060e30f9f69e53988847c43a23181c83e20900679907e2b646bb81f4aa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d7ec2060e30f9f69e53988847c43a23181c83e20900679907e2b646bb81f4aa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7ec2060e30f9f69e53988847c43a23181c83e20900679907e2b646bb81f4aa6", kill_on_drop: false }`
[INFO] [stdout] d7ec2060e30f9f69e53988847c43a23181c83e20900679907e2b646bb81f4aa6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b6c7945119f56bf71e5b8596afc98e5e6991c9bd9d27c39c4d17d7efd7d62b1f
[INFO] running `Command { std: "docker" "start" "-a" "b6c7945119f56bf71e5b8596afc98e5e6991c9bd9d27c39c4d17d7efd7d62b1f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling anyhow v1.0.64
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.24
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-io v0.3.24
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling serde v1.0.144
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling once_cell v1.14.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.21
[INFO] [stderr]    Compiling sha2 v0.10.5
[INFO] [stderr]    Compiling core2 v0.4.0
[INFO] [stderr]    Compiling signature v1.6.0
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling ed25519 v1.5.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling asn1_der v0.7.5
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]    Compiling prost-derive v0.11.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.34
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling thiserror v1.0.34
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling prost v0.11.0
[INFO] [stderr]    Compiling multihash-derive v0.8.0
[INFO] [stderr]    Compiling prost-types v0.11.1
[INFO] [stderr]    Compiling prost-build v0.11.1
[INFO] [stderr]    Compiling asynchronous-codec v0.6.0
[INFO] [stderr]    Compiling futures-executor v0.3.24
[INFO] [stderr]    Compiling unsigned-varint v0.7.1
[INFO] [stderr]    Compiling futures v0.3.24
[INFO] [stderr]    Compiling libp2p-core v0.36.0
[INFO] [stderr]    Compiling libp2p-relay v0.12.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling rw-stream-sink v0.3.0
[INFO] [stderr]    Compiling multihash v0.16.3
[INFO] [stderr]    Compiling multistream-select v0.11.0
[INFO] [stderr]    Compiling prost-codec v0.2.0
[INFO] [stderr]    Compiling multiaddr v0.14.0
[INFO] [stderr]    Compiling libp2p-swarm v0.39.0
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.48s
[INFO] running `Command { std: "docker" "inspect" "b6c7945119f56bf71e5b8596afc98e5e6991c9bd9d27c39c4d17d7efd7d62b1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6c7945119f56bf71e5b8596afc98e5e6991c9bd9d27c39c4d17d7efd7d62b1f", kill_on_drop: false }`
[INFO] [stdout] b6c7945119f56bf71e5b8596afc98e5e6991c9bd9d27c39c4d17d7efd7d62b1f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4030cb3e77d7d8e41a3b1d8363a6ee1f1a99087aaf12c07760abcfb513dc1668
[INFO] running `Command { std: "docker" "start" "-a" "4030cb3e77d7d8e41a3b1d8363a6ee1f1a99087aaf12c07760abcfb513dc1668", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling multistream-select v0.11.0
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling libp2p-core v0.36.0
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling libp2p-swarm v0.39.0
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stderr]    Compiling libp2p-relay v0.12.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling clap v3.2.20
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use libp2p::core::multiaddr::{Multiaddr, Protocol};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use libp2p::core::muxing::StreamMuxerBox;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use libp2p::core::transport::choice::OrTransport;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use libp2p::core::transport::{Boxed, MemoryTransport, Transport};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use libp2p::core::PublicKey;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use libp2p::core::{identity, upgrade, PeerId};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use libp2p::ping::{Ping, PingConfig, PingEvent};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use libp2p::plaintext::PlainText2Config;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use libp2p::relay::v2::client;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> tests/v2.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use libp2p::relay::v2::relay;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use libp2p::core::upgrade;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use libp2p::identify::{Identify, IdentifyConfig, IdentifyEvent};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use libp2p::multiaddr::Protocol;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use libp2p::ping::{Ping, PingConfig, PingEvent};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use libp2p::relay::v2::relay::{self, Relay};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use libp2p::swarm::{Swarm, SwarmEvent};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use libp2p::tcp::TcpTransport;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> tests/v2.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use libp2p::NetworkBehaviour;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour`
[INFO] [stdout]    --> tests/v2.rs:350:10
[INFO] [stdout]     |
[INFO] [stdout] 350 | #[derive(NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use libp2p::Transport;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use libp2p::{identity, NetworkBehaviour, PeerId};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/relay_v2.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use libp2p::{noise, Multiaddr};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour`
[INFO] [stdout]   --> examples/relay_v2.rs:96:10
[INFO] [stdout]    |
[INFO] [stdout] 96 | #[derive(NetworkBehaviour)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]    --> tests/v2.rs:351:3
[INFO] [stdout]     |
[INFO] [stdout] 351 | #[behaviour(out_event = "RelayEvent", event_process = false)]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `NetworkBehaviour`
[INFO] [stdout]    --> tests/v2.rs:375:10
[INFO] [stdout]     |
[INFO] [stdout] 375 | #[derive(NetworkBehaviour)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]    --> tests/v2.rs:376:3
[INFO] [stdout]     |
[INFO] [stdout] 376 | #[behaviour(out_event = "ClientEvent", event_process = false)]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux`
[INFO] [stdout]    --> tests/v2.rs:346:20
[INFO] [stdout]     |
[INFO] [stdout] 346 |         .multiplex(libp2p_yamux::YamuxConfig::default())
[INFO] [stdout]     |                    ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `behaviour` in this scope
[INFO] [stdout]   --> examples/relay_v2.rs:97:3
[INFO] [stdout]    |
[INFO] [stdout] 97 | #[behaviour(out_event = "Event", event_process = false)]
[INFO] [stdout]    |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p_yamux`
[INFO] [stdout]   --> examples/relay_v2.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |         .multiplex(libp2p_yamux::YamuxConfig::default())
[INFO] [stdout]    |                    ^^^^^^^^^^^^ use of undeclared crate or module `libp2p_yamux`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]   --> examples/relay_v2.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use futures::stream::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-relay` due to 14 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `Relay: NetworkBehaviour` is not satisfied
[INFO] [stdout]    --> tests/v2.rs:292:21
[INFO] [stdout]     |
[INFO] [stdout] 292 | fn build_relay() -> Swarm<Relay> {
[INFO] [stdout]     |                     ^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Relay`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `NetworkBehaviour`:
[INFO] [stdout]               DummyBehaviour
[INFO] [stdout]               Toggle<TBehaviour>
[INFO] [stdout]               either::Either<L, R>
[INFO] [stdout]               libp2p_relay::v2::client::Client
[INFO] [stdout]               libp2p_relay::v2::relay::Relay
[INFO] [stdout] note: required by a bound in `Swarm`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.39.0/src/lib.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |     TBehaviour: NetworkBehaviour,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ required by this bound in `Swarm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Client: NetworkBehaviour` is not satisfied
[INFO] [stdout]    --> tests/v2.rs:315:22
[INFO] [stdout]     |
[INFO] [stdout] 315 | fn build_client() -> Swarm<Client> {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Client`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `NetworkBehaviour`:
[INFO] [stdout]               DummyBehaviour
[INFO] [stdout]               Toggle<TBehaviour>
[INFO] [stdout]               either::Either<L, R>
[INFO] [stdout]               libp2p_relay::v2::client::Client
[INFO] [stdout]               libp2p_relay::v2::relay::Relay
[INFO] [stdout] note: required by a bound in `Swarm`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.39.0/src/lib.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |     TBehaviour: NetworkBehaviour,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ required by this bound in `Swarm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Client: NetworkBehaviour` is not satisfied
[INFO] [stdout]    --> tests/v2.rs:407:18
[INFO] [stdout]     |
[INFO] [stdout] 407 |     client: &mut Swarm<Client>,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Client`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `NetworkBehaviour`:
[INFO] [stdout]               DummyBehaviour
[INFO] [stdout]               Toggle<TBehaviour>
[INFO] [stdout]               either::Either<L, R>
[INFO] [stdout]               libp2p_relay::v2::client::Client
[INFO] [stdout]               libp2p_relay::v2::relay::Relay
[INFO] [stdout] note: required by a bound in `Swarm`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.39.0/src/lib.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |     TBehaviour: NetworkBehaviour,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ required by this bound in `Swarm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Client: NetworkBehaviour` is not satisfied
[INFO] [stdout]    --> tests/v2.rs:439:37
[INFO] [stdout]     |
[INFO] [stdout] 439 | async fn wait_for_dial(client: &mut Swarm<Client>, remote: PeerId) -> bool {
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^ the trait `NetworkBehaviour` is not implemented for `Client`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `NetworkBehaviour`:
[INFO] [stdout]               DummyBehaviour
[INFO] [stdout]               Toggle<TBehaviour>
[INFO] [stdout]               either::Either<L, R>
[INFO] [stdout]               libp2p_relay::v2::client::Client
[INFO] [stdout]               libp2p_relay::v2::relay::Relay
[INFO] [stdout] note: required by a bound in `Swarm`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-0.39.0/src/lib.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |     TBehaviour: NetworkBehaviour,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ required by this bound in `Swarm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-relay` due to 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "4030cb3e77d7d8e41a3b1d8363a6ee1f1a99087aaf12c07760abcfb513dc1668", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4030cb3e77d7d8e41a3b1d8363a6ee1f1a99087aaf12c07760abcfb513dc1668", kill_on_drop: false }`
[INFO] [stdout] 4030cb3e77d7d8e41a3b1d8363a6ee1f1a99087aaf12c07760abcfb513dc1668
